{extend name="public:base" /}
{block name="head"}
<link href="__PUBLIC__/view_res/mobile/css/wshop_company_center.css" type="text/css" rel="Stylesheet" />
<link href="__PUBLIC__/view_res/mobile/css/uc.css" type="text/css" rel="Stylesheet" />
<link href="__PUBLIC__/view_res/mobile/css/wshop_company_center.css" type="text/css" rel="Stylesheet" />
<link href="__PUBLIC__/jquery-weui/dist/lib/weui.min.css" type="text/css" rel="Stylesheet" />
{/block} 
{block name="header"}
{include file="public/top-nav" /}
{/block}
{block name="content"}
<div id="wrapper">
    <div class="close"></div>
</div>



<style>
/*.user{
    position: relative;
    color: #444;
    padding-left: 20px;
    line-height: 30px;
    font-size: 14px;

    border-bottom: 1px solid #eee;
    background: url(../images/icon_bar-right.png) 97.5% center no-repeat #fefefe;
    background-size: 15px 16px;
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}*/
table tr{

    position: relative;
    color: #444;
    padding-left: 50px;
    line-height: 40px;
    font-size: 14px;
    background: url(../images/icon_bar-right.png) 97.5% center no-repeat #fefefe;

}
td{padding-left: 18px;}
</style>
<div>
  <div class="" align="center">
    <span class=""  align="center" style="width:50%;">可提现额度:<b>{$pos.position|default='0'}</b></span>
    <p>
    <span class="" align="center" style="width:50%;">已提现额度:<b>{$pos.use_position|default='0'}</b></span> 
  </div>
  <div class="weui_btn_area">
    <a class="weui_btn weui_btn_primary" href="{:url('stoncer/wd')}">提现</a>
  </div>
</div>
<div class="shezhi">
	<img src="__RES__/mobile/images/geren.png?v=1)" alt="">
	<b style="font-size: 18px; display: inline-block; margin-top: 10px;">增值品种</b></div>


<table width="100%"  border="0" cellpadding="0" cellspacing="1">
  <tr>
    <td width="30%" >品种</td>
    <td width="30%">价格</td>
    <td width="40%"></td>
  </tr>
{volist name="stone" id="p"}
  <tr>
    <td width="30%" >{$p.name}</td>
    <td width="30%">{$p.curr_price}</td>
    <td width="40%"><a href="buy?id={$p.id}">我要持有</td>
  </tr>
{/volist} 
</table>


<div class="shezhi">
  <img src="__RES__/mobile/images/geren.png?v=1)" alt="">
  <b style="font-size: 18px; display: inline-block; margin-top: 10px;">我的持有</b></div>


<table width="100%"  border="0" cellpadding="0" cellspacing="1">
  <tr>
    <td width="30%" >品种</td>
    <td width="30">数量</td>
    <td width="40%"></td>
  </tr>
  {volist name="userstone" id="p"}
  <tr>
    <td width="30%" >{$p.stone_name}</td>
    <td width="30%">{$p.num}</td>
    <td width="40%"><a href="sell?id={$p.stone_id}">出售</td>
  </tr>
  {/volist} 
</table>

<style>
.shezhi{
    color: #444;
    padding-left: 50px;
    line-height: 42px;
    font-size: 14px;
    border-top: 1px solid #eee;

}
.shezhi img{
    width: 50px;
    height: 50px;
    float: left;
    margin-top: 5px;
    margin-left: -50px;
}
</style>


{/block}

{block name="footer"}
{include file="public/footer-nav" /}
{/block}

{block name="script"}
<script data-main="__RES__/mobile/js/shop_uchome.js" src="__RES__/mobile/js/require.min.js"></script>
{/block}